﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Assets.Scripts.NetFrame;
using ExitGames.Client.Photon;
using UnityEngine;
using WorldOfSuperpowers_COMMON;

namespace Assets.Scripts.Handlers
{
    public abstract class BaseHandler:MonoBehaviour
    {
        public OperationCode code;

        void Awake()
        {
            PhotonPeerManager.GetInstance().handlerDic.Add(code,this);
        }

        public abstract void Response(OperationResponse operationResponse );
    }
}
